C:\Users\cubes>cdmC:\xampp\mysql\bin
The filename, directory name, or volume label syntax is incorrect.

C:\Users\cubes>cd C:\xampp\mysql\bin

C:\xampp\mysql\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.5.25a MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| b12joomla1         |
| b13                |
| b15                |
| b17                |
| b18                |
| cdcol              |
| cubes              |
| imp                |
| joins              |
| joomla             |
| joomla_b12         |
| mysql              |
| performance_schema |
| phpcubes_data      |
| phpmyadmin         |
| phpskill_test      |
| phpwebco_shop      |
| plaincart          |
| search_suggest     |
| test               |
| webauth            |
| zf_tutorial        |
+--------------------+
23 rows in set (0.10 sec)

mysql> CREATE DATABASE `b19`;
Query OK, 1 row affected (0.00 sec)

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| b12joomla1         |
| b13                |
| b15                |
| b17                |
| b18                |
| b19                |
| cdcol              |
| cubes              |
| imp                |
| joins              |
| joomla             |
| joomla_b12         |
| mysql              |
| performance_schema |
| phpcubes_data      |
| phpmyadmin         |
| phpskill_test      |
| phpwebco_shop      |
| plaincart          |
| search_suggest     |
| test               |
| webauth            |
| zf_tutorial        |
+--------------------+
24 rows in set (0.00 sec)

mysql> USE `b19`;
Database changed
mysql> CREATE TABLE `users`(
    -> `id` INT AUTO_INCREMENT PRIMARY KEY,
    -> `name` VARCHAR(255),
    -> `email` VARCHAR(255),
    -> `added_date` DATETIME,
    -> `modified_date` TIMESTAMP,
    -> `status` INT);
Query OK, 0 rows affected (0.31 sec)

mysql> DESCRIBE `users`;
+---------------+--------------+------+-----+-------------------+-----------------------------+
| Field         | Type         | Null | Key | Default           | Extra                       |
+---------------+--------------+------+-----+-------------------+-----------------------------+
| id            | int(11)      | NO   | PRI | NULL              | auto_increment              |
| name          | varchar(255) | YES  |     | NULL              |                             |
| email         | varchar(255) | YES  |     | NULL              |                             |
| added_date    | datetime     | YES  |     | NULL              |                             |
| modified_date | timestamp    | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
| status        | int(11)      | YES  |     | NULL              |                             |
+---------------+--------------+------+-----+-------------------+-----------------------------+
6 rows in set (0.02 sec)

mysql> DESC `users`;
+---------------+--------------+------+-----+-------------------+-----------------------------+
| Field         | Type         | Null | Key | Default           | Extra                       |
+---------------+--------------+------+-----+-------------------+-----------------------------+
| id            | int(11)      | NO   | PRI | NULL              | auto_increment              |
| name          | varchar(255) | YES  |     | NULL              |                             |
| email         | varchar(255) | YES  |     | NULL              |                             |
| added_date    | datetime     | YES  |     | NULL              |                             |
| modified_date | timestamp    | NO   |     | CURRENT_TIMESTAMP | on update CURRENT_TIMESTAMP |
| status        | int(11)      | YES  |     | NULL              |                             |
+---------------+--------------+------+-----+-------------------+-----------------------------+
6 rows in set (0.02 sec)

mysql> SELECT NOW();
+---------------------+
| NOW()               |
+---------------------+
| 2013-01-29 09:40:38 |
+---------------------+
1 row in set (0.00 sec)

mysql> SELECT DATE();
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syn
mysql> SELECT TIME();
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syn
mysql> SELECT TIME;
ERROR 1054 (42S22): Unknown column 'TIME' in 'field list'
mysql> INSERT INTO `users` VALUES(1,'php','zend@andi.com',NOW(),NOW(),1);
Query OK, 1 row affected (0.30 sec)

mysql> SELECT * FROM `users`;
+----+------+---------------+---------------------+---------------------+--------+
| id | name | email         | added_date          | modified_date       | status |
+----+------+---------------+---------------------+---------------------+--------+
|  1 | php  | zend@andi.com | 2013-01-29 09:42:34 | 2013-01-29 09:42:34 |      1 |
+----+------+---------------+---------------------+---------------------+--------+
1 row in set (0.00 sec)

mysql> INSERT INTO `users`(`name`,`added_date`,`status`) VALUES
    -> (`abhi`,NOW(),0);
ERROR 1054 (42S22): Unknown column 'abhi' in 'field list'
mysql> INSERT INTO `users`(`name`,`added_date`,`status`) VALUES
    -> ('abhi',NOW(),0);
Query OK, 1 row affected (0.00 sec)

mysql> SELECT * FROM `users`;
+----+------+---------------+---------------------+---------------------+--------+
| id | name | email         | added_date          | modified_date       | status |
+----+------+---------------+---------------------+---------------------+--------+
|  1 | php  | zend@andi.com | 2013-01-29 09:42:34 | 2013-01-29 09:42:34 |      1 |
|  2 | abhi | NULL          | 2013-01-29 09:44:37 | 2013-01-29 09:44:37 |      0 |
+----+------+---------------+---------------------+---------------------+--------+
2 rows in set (0.00 sec)

mysql> INSERT INTO `users` SET
    -> `name`='vishal',
    -> `email`='vishal@gmail.com',
    -> added_date=NOW();
Query OK, 1 row affected (0.30 sec)

mysql> SELECT * FROM `users`;
+----+--------+------------------+---------------------+---------------------+--------+
| id | name   | email            | added_date          | modified_date       | status |
+----+--------+------------------+---------------------+---------------------+--------+
|  1 | php    | zend@andi.com    | 2013-01-29 09:42:34 | 2013-01-29 09:42:34 |      1 |
|  2 | abhi   | NULL             | 2013-01-29 09:44:37 | 2013-01-29 09:44:37 |      0 |
|  3 | vishal | vishal@gmail.com | 2013-01-29 09:47:09 | 2013-01-29 09:47:09 |   NULL |
+----+--------+------------------+---------------------+---------------------+--------+
3 rows in set (0.00 sec)

mysql>
----------------------------------IMPORT / EXPORT-----------------------------------
c:\xampp\mysql\bin>mysqldump -u root -p b19< b19db.sql
The system cannot find the file specified.

c:\xampp\mysql\bin>mysqldump -u root -p b19> b19db.sql
Enter password:

c:\xampp\mysql\bin>mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 101
Server version: 5.5.25a MySQL Community Server (GPL)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

mysql> use b19;
Database changed
mysql> SOURCE C:\xampp\mysql\bin\b19db.sql
Query OK, 0 rows affected (0.00 sec)

Query OK, 0 rows affected (0.00 sec)

-----------------------------------------------------------------------
